/**
 * 
 */
package com.xintoucloud.gsv.service;

import java.util.List;

import org.springframework.stereotype.Service;

import com.xintoucloud.gsv.entity.Role;
import com.xintoucloud.gsv.model.DataGrid;
import com.xintoucloud.gsv.model.RoleVo;

/**
 * @author xiang
 *
 */
@Service
public interface RoleService {
	
	List<Role> list();
	List<RoleVo> showView();
	boolean roleDelete(int rid);
	void roleAdd(Role role);
	boolean roleUpdate(Role role);
	DataGrid<RoleVo> listByPageAndLimit(int page,int limit);
	
}
